package com.scheduler.backend.config;

import com.alibaba.druid.support.http.WebStatFilter;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/**
 * druid监控拦截器
 *
 * @author yyy
 * @ClassName: DruidStatFilter
 * @date 2020.11
 */
@WebFilter(filterName = "druidWebStatFilter",
        urlPatterns = "/*",
        initParams =
                // 忽略资源
                {@WebInitParam(name = "exclusions", value = "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*")}
)
public class DruidStatFilter extends WebStatFilter {

}
